<template>
	<div class="module">
		<div style="text-align: center;">
			<i class="el-icon-data-line" style="font-size: 20px;"></i>
			<h5 style="margin: 0 10px;">数据样例</h5>
		</div>

		<JsonViewer mode="code" lang="zh" v-model="req.data" copyable :expand-depth="100">
		</JsonViewer>

	</div>
</template>

<script>
	import JsonViewer from "vue-json-viewer"

	export default {
		name: '',
		components: {
			JsonViewer
		},
		props: {
			req: {
				type: Object
			}
		},
		model: ['req'],
		data() {
			return {

			}
		},
		filters: {

		},
		methods: {
			
		},
		watch:{

		},
		created() {
			
		}
	}
</script>

<style scoped="">
	.module {
		width: 400px;
	}
</style>
